package com.zoo.boot.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class LDepartments implements Serializable {
    @ApiModelProperty(value = "部门代码")
    private String deptCode;

    @ApiModelProperty(value = "部门名称")
    private String name;

    private static final long serialVersionUID = 1L;

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", deptCode=").append(deptCode);
        sb.append(", name=").append(name);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}